package org.jeecg.modules.hc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.hc.entity.HcCompanyFoodOrder;

import java.util.List;

/**
 * @Description: 企业订餐订单
 * @Author: jeecg-boot
 * @Date:   2023-07-11
 * @Version: V1.0
 */
public interface HcCompanyFoodOrderMapper extends BaseMapper<HcCompanyFoodOrder> {

    List<HcCompanyFoodOrder> getExportXlsData(@Param("startTime")String startTime,@Param("endTime")String endTime,@Param("companyId")String companyId);

    HcCompanyFoodOrder getMixTime(@Param("merchantId")String merchantId,@Param("companyId")String companyId);

    void updateByOrderNum(@Param("orderNum")String orderNum,@Param("merchantId")String merchantId);

    void updateOrder2Finished();

}
